package com.ssy.lingxi.member.merchant.model.vo.lrc.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 修改会员等级接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2022-03-22
 */
public class MemberLevelUpdateVO implements Serializable {
    private static final long serialVersionUID = 5630281028205768890L;

    @NotNull(message = "等级Id要大于0")
    @Positive(message = "等级Id要大于0")
    private Long levelId;

    /**
     * 等级
     */
    @Positive(message = "会员等级要大于0")
    private Integer level;

    /**
     * 等级标签
     */
    @NotBlank(message = "等级标签不能为空")
    private String levelTag;

    /**
     * 升级分值标签
     */
    @NotBlank(message = "升级分值标签不能为空")
    @Size(max = 16, message = "升级分值标签最长16个字符")
    private String scoreTag;

    /**
     * 等级说明
     */
    @Size(max = 80, message = "等级说明最长80个字符")
    private String remark;

    public Long getLevelId() {
        return levelId;
    }

    public void setLevelId(Long levelId) {
        this.levelId = levelId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getLevelTag() {
        return levelTag;
    }

    public void setLevelTag(String levelTag) {
        this.levelTag = levelTag;
    }

    public String getScoreTag() {
        return scoreTag;
    }

    public void setScoreTag(String scoreTag) {
        this.scoreTag = scoreTag;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
